package com.lwj.service;

import com.lwj.entity.Progress;
import com.lwj.model.PlaneList;
import com.lwj.util.DataRet;

import java.util.List;

/**
 * @author linwj
 * @date 2018/5/12 14:58
 */
public interface ProgressService {
    /**
     * 制定计划
     * @param planeList
     * @param projectId
     * @return
     */
    DataRet<String> makePlane(PlaneList planeList,int projectId);

    /**
     * 获取用户的计划信息
     * @param projectId
     * @return
     */
    DataRet<List<Progress>> getPlaneProgress(int projectId);

    /**
     * 修改进程状态
     * @param progressId
     * @return
     */
    DataRet<String> changeProgressStatus(int progressId);
}
